package git.bds.nyc.communal.service.agreement;

import git.bds.nyc.communal.model.domain.Agreement;
import com.github.yulichang.base.MPJBaseService;
import git.bds.nyc.communal.model.dto.AgreementDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 成大事
 * @since 2023-06-07 20:14:13
 */
public interface AgreementService extends MPJBaseService<Agreement> {

    /**
     * 创建协议
     *
     * @param agreementDTO 协议dto
     * @return {@link Boolean}
     */
    Boolean createAgreement(AgreementDTO agreementDTO);

    /**
     * 删除协议
     *
     * @param id 身份证
     * @return {@link Boolean}
     */
    Boolean delAgreement(Long id);
}
